'use strict'
const path = require('path');

const dataBaseMessage = require('../tools/dataBaseMessage.js');


/**
 * 获取用户信息
 */
exports.getUserList = (req,res) => {
    dataBaseMessage.findOne('resume', { name: '刘金源' }, (err, doc) => {
        console.log(err, doc, 99999999999999)
        res.sendFile(path.join(__dirname, '../views/index.html'))
    })
    
}